package com.panda.common;

import lombok.Getter;
import lombok.Setter;

import java.io.PrintStream;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


@Setter
@Getter
public abstract class ResourceHolder {


    protected Charset charset;

    protected List<String> serviceTexts = new ArrayList<>();

    protected List<String> componentTexts = new ArrayList<>();

    protected List<Map> commands = new ArrayList<>();

    protected List<Map> dependencies = new ArrayList<>();

    protected Map config;

    protected Map<String, PrintStream> pandas = new HashMap<>();

    protected Map js = new HashMap();
    protected Map css = new HashMap();

    public abstract void handle() throws Exception;

}
